package com.wuyou.domain.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 刘雷雨
 * @since 2022-09-29
 */
@TableName("tb_adv_type")
@ApiModel(value = "AdvType对象", description = "")
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@Builder
public class AdvType implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("类型id")
    @TableId(value = "adv_type_id", type = IdType.AUTO)
    private Long advTypeId;

    @ApiModelProperty("类型名称")
    private String typeName;

    @ApiModelProperty("投放类型(1点击 2曝光 3天数)")
    private Integer launchType;

    @ApiModelProperty("全部栏位")
    private Integer allRegion;

    @ApiModelProperty("已用栏位")
    private Integer useRegion;

    @ApiModelProperty("剩余栏位")
    private Integer surplusRegion;

}
